<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" href="../../../book.css" charset="ISO-8859-1" type="text/css">
<title>Display Result</title>
</head>
<body>
<h1> Display </h1>
<p> Select the <strong>Display</strong> command [ <img src="../../../images/org.eclipse.jdt.debug.ui/etool16/disp_sbook.svg" alt="Display Result"> ] to have the selected statement evaluated and the results displayed inline in the <a href="../../../reference/views/display/ref-debug_shell_view.htm"><strong>Debug Shell View</strong></a> or in a popup dialog (that can be moved to the Display View).</p>
<p>For example, consider we have the following statement selected in the Debug Shell View:</p>
<p><img src="../../../reference/views/shared/images/ref-selectedstatement.PNG" alt="Selected Statement"> </p>
<p>After we select the <strong>Display </strong> command we notice that the result is inserted inline in the view. In the following case though, a <em><strong>println()</strong></em> statement does not have an explicit return value, so that is what is written in the view. </p>
<p><img src="../../../reference/views/shared/images/ref-displayresult.PNG" alt="Display command result"></p>
<p>This command applies to:</p>
<ul>
  <li><a href="../../../concepts/concept-java-editor.htm"><strong>Java Editor</strong></a></li>
  <li><a href="../../../reference/views/display/ref-debug_shell_view.htm"><strong>Debug Shell View</strong></a></li>
  <li><a href="../../../reference/views/shared/ref-detailpane.htm"><strong>Detail Pane</strong></a> (in the <a href="../../../reference/views/expressions/ref-expressions_view.htm"><strong>Expressions View</strong></a> and <a href="../../../reference/views/variables/ref-variables_view.htm"><strong>Variables View</strong></a>)</li>
  <li><a href="../../../reference/menus/run/ref-menu-run.htm"><strong>Run Menu</strong></a></li>
</ul>
<h3 class="related">Related tasks</h3>
<a href="../../../tasks/task-evaluating_expressions.htm">Evaluating Expressions</a>
</body>
</html>
